package ch.tiktak.games.powersudoku;

public class InvalidIndexException extends Throwable {
    /**
     *
     * @param dataType "Column" or "Row"
     * @param index Index
     */
    public InvalidIndexException(String dataType, int index, int maxIndex) {
        super(index + " is not within allowed range [1:" + maxIndex + "] for " + dataType + ".");
    }
}
